<%- @page_title = _("Viewing Old Classes for %s", h(@project.title)) -%>
<h2><%= @page_title %></h2>
<%- unless @teachings.empty? -%>
  <ul>
    <%- @teachings.each do |t| -%>
      <li><%= link_to(h(t.user.name), class_path(@project, t)) %></li>
    <%- end -%>
  </ul>
<%- else -%>
  <p><%= _('All of the classes are active or no class has been added, yet') %></p>
<%- end -%>
<hr />
<%= link_to(_("&laquo; Back to project"), project_path(@project)) %>